<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <label for="username">用户名：</label><input type="text" id="username">
    <input type="radio" id="nan" name="sex"><label for="nan">男</label><input type="radio" id="nv" name="sex"><label for="nv">女</label>
</body>

</html>